package com.rockcent.mall.lib.repository;

import com.rockcent.common.common.PageResult;
import com.rockcent.mall.lib.dto.MerchantWithdrawDto;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;

/**
 * Created by DK on 16/12/12.
 */
@Repository
public interface MerchantWithdrawRepositoryCustom {
    PageResult<MerchantWithdrawDto> findMerchantApplyWithdrawPage(Long merchantId, Long mallId, String beginDate, String endDate, String status, PageResult page);

    PageResult<MerchantWithdrawDto> findMallMerchantApplyWithdrawPage(Long merchantId, String merchantName, Long mallId, String beginDate, String endDate, BigDecimal maxAmount, BigDecimal minAmount, String status, PageResult page);
}
